package ace.cmp.application.core.property;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Caspar
 */
@ConfigurationProperties(AceApplicationProperties.PREFIX)
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AceApplicationProperties {
  public static final String PREFIX = "ace.application";

  /**
   * 是否打印初始化的bean信息
   */
  private Boolean beanNamePrinterEnable = false;

  /**
   * 是否打印 http mapping 与handler的信息
   */
  private Boolean mappingHandlerPrinterEnable = false;
}
